declare interface LabelValueOption {
  label: string
  value: string | number

  [k: string]: any
}

declare type Recordable<T = any> = Record<string, T>

declare interface MenuItem {
  key?: string
  icon?: string
  title: string
  url?: string
  badge?: number | string
  roleLevel?: number
  moreParams?: Recordable
  show?: boolean
  type?:
    | 'page'
    | 'tabbar'
    | 'webview'
    | 'openFile'
    | 'miniApp'
    | 'link'
    | 'subscribe'
    | 'none'

  [k: string]: any
}
